package com.tuangou.tuangouheader.header.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * 
 * @author zjb
 * @email zjb@tuangou.com
 * @date 2021-06-17 21:27:33
 */
@Data
@TableName("tb_record_user")
public class RecordUserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId
	private Integer id;
	/**
	 * 拼团记录id
	 */
	private Integer recordId;
	/**
	 * 团员id
	 */
	private Integer userId;

	public RecordUserEntity(Integer id, Integer recordId, Integer userId) {
		this.id = id;
		this.recordId = recordId;
		this.userId = userId;
	}

	public RecordUserEntity() {
	}
}
